package com.aoyy.model;

import java.util.Date;
import java.util.Set;
import java.io.Serializable;
/**========================================
 * <code>User</code> model class
 * @author Administrator
 * @date 2017-07-12
 * ======================================== */
public class User implements Serializable{
  private static final long serialVersionUID = -4977824300458672349L;
  private Integer userId;
  private String userName;
  private String password;
  private Date createdTime;
  private Integer permission;
  private String realName;
  private Boolean sex;
  private String birthday;
  private String email;
  private String tel;
  private String address;
  private Set<Order> orders;
  
  public void setUserId(Integer userId) {
	this.userId = userId;  
  }
  public Integer getUserId() {
	return userId;  
  }
  
  public void setUserName(String userName) {
	this.userName = userName;  
  }
  public String getUserName() {
	return userName;
  }
  
  public void setPassword(String password) {
	this.password = password;  
  }
  public String getPassword() {
	return password;  
  }
  
  public void setCreatedTime(Date createdTime) {
	this.createdTime = createdTime;  
  }
  public Date getCreatedTime() {
	return createdTime;  
  }
  
  public void setPermission(Integer permission) {
	this.permission = permission;  
  }
  public Integer getPermission() {
	return permission;  
  }
  
  public void setRealName(String realName) {
	this.realName = realName;
  }
  public String getRealName() {
    return realName;	  
  }
  
  public void setSex(Boolean sex) {
	this.sex = sex;  
  }
  public Boolean getSex() {
	return sex;  
  }
  
  public void setBirthday(String birthday) {
    this.birthday = birthday;  
  }
  public String getBirthday() {
    return birthday;  
  }
  
  public void setEmail(String email) {
    this.email = email;	  
  }
  public String getEmail() {
	return email;  
  }
  
  public void setTel(String tel) {
	this.tel = tel;  
  }
  public String getTel() {
	return tel;  
  }
  
  public void setAddress(String address) {
	this.address = address;  
  }
  public String getAddress() {
	return address;  
  }
  
  public void setOrders(Set<Order> orders) {
	this.orders = orders;  
  }
  public Set<Order> getOrders() {
	return orders;  
  }

}
